package cn.rokhdelar.ams.config.exception;

public class AndroidBusException extends RuntimeException{
  private Integer code;
    public AndroidBusException(String msg) {
        super(msg);
        this.code = 500;
    }
    public AndroidBusException(Integer code, String msg) {
        super(msg);
        this.code = code;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }
}
